package com.bilubi.reggie.reggie.service;

import com.bilubi.reggie.reggie.bean.Dish;
import com.bilubi.reggie.reggie.bean.vo.DishVo;

import java.util.List;
import java.util.Map;

public interface DishService {

    public List<Map<String,Object>> getAllDish(String name);

    public Integer addDish(DishVo dishVo);

    public Integer updateDish(DishVo dishVo);

    public Integer deleteDishById(String ids);

    DishVo getDishById(Long id);

    public Integer changeStatusById(Integer status, String ids);

    public List<DishVo> getDishByCategoryId(Long categoryId);
}
